/**
 * 
 */
package id.co.krakatauit;

//import javax.swing.JOptionPane;

/**
 * @author Anita
 *
 */
public class Eclipselatihan {
	String kotakbox; 
	String dialog;
    int tmbh; 
    int krg ;
    String pesan;
    
	public static void main( String[] args )
    {
    	System.out.println( "Belajar Maven tanggal 07 Mei 2013 di Krenceng " );
    	        
    	Eclipselatihan appku = new Eclipselatihan();
        appku.showMessage();
        appku.tampil ("Sedang Belajar JAVA MAVEN");
        appku.kotakbox = "Yuuuks Kita belajar Java";
        appku.dialog = "Dengan Maven ...";
        
        System.out.println( "Tampilkan : " + appku.kotakbox + " " + appku.dialog);
                        		
        Eclipselatihan appmu = new Eclipselatihan();
        appmu.pertambahan (10);
        appmu.Pengurangan (5);
        
        //JOptionPane.showMessageDialog(null, "Hallo Kerenceng");   
        
        
    }
    public void showMessage() {
    	System.out.println("Pesan Tampilkan");
    }
    
    public void tampil (String name) {
    	System.out.println("informasi ! " + name);
    }
    
    void pertambahan ( int tambah ){
    	tmbh = tambah * tambah ;
    	System.out.println ("Hasil Perkalian = " + tmbh );
       
    }
    void Pengurangan ( int kurang ){
    	krg = kurang / kurang ;
    	System.out.println ("Hasil Pembagian = " + krg );
       
    }
}
